<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">特别推荐</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<div class="layout background">
    <div class="container">
        <?php if(!empty($output['list']) && is_array($output['list'])){?>
        <div class="line-small padding-top">
            <?php foreach($output['list'] as $v){ ?>
            <dl class="x6 margin-small-bottom">
                <dt class="x12 bg-white "><a href="index.php?act=goods&goods_id=<?php echo $v['goods_id']?>"><img class="img-responsive self-motion padding-small top_yj" src="<?php echo SiteUrl.DS.ATTACH_GOODS.DS.$v['store_id'].DS.$v['goods_image']?>" onload="imgheqw(this)" onerror="this.src='<?php echo TEMPLATES_PATH.DS.'images/touch2013/no_100_100.jpg'?>'" ></a></dt>
                <dd class="x12 bg-white text-center"><p class="ycyc"><a href="index.php?act=goods&goods_id=<?php echo $v['goods_id']?>"><?php echo $v['goods_name']?></a></p><strong class="zt_color">美财价：<?php if($_SESSION['is_login'] != 1){?>
                        登陆后显示
                        <?php }else{?>
                            &yen;<?php echo $v['goods_store_price']?>
                        <?php }?> </strong></dd>
            </dl>
            <?php }?>
        </div>

    </div>
    <?php }else{?>
        <!--无内容S-->
        <ul> <li class="noTxt">
            <div class="text-center text-gray padding-large">
                <i class="icon-meh-o"></i>
                <p>暂无相关的数据记录。</p>
            </div>
        </li></ul>
        <!--无内容E-->
<?php }?>

    </div><!--container-->

</div>
<script>
    //商品名称过长时的处理
    deal_words($('.ycyc a'));
   </script>